﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WowTourGuideTranslator
{
    /// <summary>
    /// parses wowhead for a given quest
    /// </summary>
    [Serializable]
    class WowheadNpcParser : WowheadBaseParser
    {
        #region fields

        #endregion fields

        #region constructor

        /// <summary>
        /// Initializes a new instance of the <see cref="QuestParser"/> class.
        /// </summary>
        /// <param name="npcId">The NPC id.</param>
        /// <param name="language">The language.</param>
        private WowheadNpcParser(int npcId, string language)
            : base(RequestType.Npc, npcId, language)
        {

        }

        #endregion constructor

        #region methods

        /// <summary>
        /// Parses wowhead for the specified quest id.
        /// </summary>
        /// <param name="npcId">The NPC id.</param>
        /// <param name="language">The language.</param>
        /// <returns></returns>
        static WowheadNpcParser Parse(int npcId, string language)
        {
            return new WowheadNpcParser(npcId, language);
        }

        #endregion methods

     }
}
